package com.ssy.lingxi.platform.template.api.model.dto.inner;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 商家LOGO - DTO
 * @author fhj
 * @date 2021/10/29
 * @version 2.0.0
 */
@Data
public class MerchantLogoInnerDTO {

    @NotNull(message = "商城ID不能为空")
    @ApiModelProperty("商城ID")
    private Long shopId;

    @Valid
    @NotEmpty(message = "集合不能为空")
    @ApiModelProperty("会员ID和会员角色ID集合")
    private List<MemberShopListInnerDTO> list;

}
